package com.csmk.control;

public record Task(TaskType taskType, Object data){
    public Boolean valid(){
        return taskType.validParamFunction.valid(data);
    }
}
